package entity;

public class Train {

	private String trainid;	//车次
	private String start;	//出发地
	private String end;		//目的地
	private String time;	//行车时间
	private float yzprice;	//硬座
	private float rzprice;	//软座
	private float ywprice;	//硬卧
	private float rwprice;	//软卧
	private String root;	//车辆路线
	
	public String getTrainid() {
		return trainid;
	}
	public void setTrainid(String trainid) {
		this.trainid = trainid;
	}
	public String getStart() {
		return start;
	}
	public void setStart(String start) {
		this.start = start;
	}
	public String getEnd() {
		return end;
	}
	public void setEnd(String end) {
		this.end = end;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public float getYzprice() {
		return yzprice;
	}
	public void setYzprice(float yzprice) {
		this.yzprice = yzprice;
	}
	public float getRzprice() {
		return rzprice;
	}
	public void setRzprice(float rzprice) {
		this.rzprice = rzprice;
	}
	public float getYwprice() {
		return ywprice;
	}
	public void setYwprice(float ywprice) {
		this.ywprice = ywprice;
	}
	public float getRwprice() {
		return rwprice;
	}
	public void setRwprice(float rwprice) {
		this.rwprice = rwprice;
	}
	public String getRoot() {
		return root;
	}
	public void setRoot(String root) {
		this.root = root;
	}
}
